package com.runen.wnhz.runen.data.entity;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2018-04-24.
 * <p>
 * CourseDetails中 考试列表
 */

public class TestListEntity implements Serializable {

    /**
     * @return string re    =>0
     * @return string info  =>参数错误/请重新登录/课程错误/暂无内容
     * @return string re    =>1
     * @return string info  =>获取成功
     * @return object data  =>结果信息集
     * @return object data.list  =>试题信息集
     * @return int    data.list.0.ltid  =>试卷id
     * @return string data.list.0.test_name  =>试卷名称
     * @return float  data.list.0.test_score  =>试卷总分
     * @return int    data.list.0.test_count  =>试题数
     * @return int    data.list.0.is_test  =>是否测试过 1是 0否
     * @return int    data.sum_page  =>总页数
     * @return int    data.page  =>当前页数
     * @return int    data.is_page  =>是否有下一页 1有 0无
     * */

    /**
     * {
     * "re": "1","info": "获取成功",
     * "data": {"list": [
     * {
     * "ltid": "1",
     * "test_name": "第一讲单元测试题",
     * "test_score": "100",
     * "test_count": "4",
     * "is_test": "0"
     * },{......}
     * ],
     * "sum_page": "1",
     * "page": "0",
     * "is_page": "0"}
     * }
     */

    private String sum_page;
    private String page;
    private String is_page;
    private List<ListBean> list;

    public String getSum_page() {
        return sum_page;
    }

    public void setSum_page(String sum_page) {
        this.sum_page = sum_page;
    }

    public String getPage() {
        return page;
    }

    public void setPage(String page) {
        this.page = page;
    }

    public String getIs_page() {
        return is_page;
    }

    public void setIs_page(String is_page) {
        this.is_page = is_page;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class ListBean {
        /**
         * "ltid": "1",
         * "test_name": "第一讲单元测试题",
         * "test_score": "100",
         * "test_count": "4",
         * "is_test": "0"
         */

        private String ltid;
        private String test_name;
        private String test_score;
        private String test_count;
        private String is_test;

        public String getLtid() {
            return ltid;
        }

        public void setLtid(String ltid) {
            this.ltid = ltid;
        }

        public String getTest_name() {
            return test_name;
        }

        public void setTest_name(String test_name) {
            this.test_name = test_name;
        }

        public String getTest_score() {
            return test_score;
        }

        public void setTest_score(String test_score) {
            this.test_score = test_score;
        }

        public String getTest_count() {
            return test_count;
        }

        public void setTest_count(String test_count) {
            this.test_count = test_count;
        }

        public String getIs_test() {
            return is_test;
        }

        public void setIs_test(String is_test) {
            this.is_test = is_test;
        }

        @Override
        public String toString() {
            return "ListBean{" +
                    "ltid='" + ltid + '\'' +
                    ", test_name='" + test_name + '\'' +
                    ", test_score='" + test_score + '\'' +
                    ", test_count='" + test_count + '\'' +
                    ", is_test='" + is_test + '\'' +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "ArticleListEntity{" +
                "sum_page='" + sum_page + '\'' +
                ", page='" + page + '\'' +
                ", is_page='" + is_page + '\'' +
                ", list=" + list +
                '}';
    }
}
